package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Materialaddress;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface MaterialaddressService {

	public Materialaddress saveMaterialaddress(Materialaddress materialaddress);

	public Set<Materialaddress> loadMaterialaddresss();

	public Set<Materialaddress> loadReferenceMaterialaddresss(Set<Materialaddress> materialaddresss);

	public Set<Materialaddress> loadMaterialaddresssByIdSet(Set<Integer> materialaddresssId);

	public Map<String, ?> loadMaterialaddressObjectReferencedSet(Materialaddress materialaddress);

	public Map<String, ?> loadMaterialaddressClassReferencedSet(Materialaddress materialaddress);

	public void deleteMaterialaddress(Materialaddress materialaddress);

	public void deleteMaterialaddresss(Set<Integer> deleteMaterialaddresssId);

	public List<Materialaddress> findAllMaterialaddresss(Integer startResult, Integer maxRows);

	public Materialaddress findMaterialaddressByPrimaryKey(Integer id);

	public Integer countMaterialaddresss();

	public Integer countMaterialaddresss(CmiPagination page);

	public Integer countMaterialaddresssByName(String queryName);

	public Integer countMaterialaddresssByDetachedCriteria(CmiPagination page);

}
